package com.ruoyi.odorservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.odorservice.entity.CraftOdor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.List;

@Mapper
public interface CraftOdorMapper extends BaseMapper<CraftOdor> {
    List<CraftOdor> selectCraftOdorList(@Param("offset") Integer offset, @Param("limit") Integer limit, @Param("industryName") String industryName, @Param("craftName") String craftName, @Param("assessor") String assessor, @Param("odorName") String odorName);

    Integer selectCraftOdorListTotal(@Param("industryName")String industryName, @Param("craftName")String craftName, @Param("odorName")String odorName, @Param("assessor")String assessor);
}
